<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="myTags" tagdir="/WEB-INF/tags/components" %>

<!-- Author: Minh-Tuan Ta -->

<div id="createMessageDiv">
	<span class="linkButton"><a href="Messages">Return to inbox</a></span>
	<h3>Reply to ${user.firstName } ${user.lastName }</h3>
	<form action="CreateMessage" method="post">
		<input type="hidden" name="recieverID" value="${user.userID }" />
		<input type="hidden" name="messageID" value="${message.contentID }" />
		<div class="floatLeft"><label for="messageTitle">Message Title:</label></div>
		<div class="floatRight"><input required="required" type="text" name="messageTitle" value="Re: ${message.contentTitle }" /></div><br style="clear:both" />
		<div class="floatLeft"><label for="messageContent">Message Content:</label></div>
		<div class="floatRight"><textarea name="messageContent"></textarea></div><br style="clear:both" />
		<input type="submit" name="submit" value="Send Message" />
	</form>
</div>